package com.tingyukeji.fastpay.entity;

/**
 * Created by Administrator on 2016/11/11.
 */

public class User extends BaseEntity {
    public static final int LOGIN_TYPE_PHONE = 0;
    public static final int LOGIN_TYPE_OTHER = 1;
    private String birthday;

    private String role;

    private String gender;

    private String city;

    private String nickName;

    private String sign;

    private String pic;

    private String memberNo;

    private String mobilePhone;

    private String integral;

    private String email;

    private String age;

    private String introduction;

    private String memberId;
    private String pwd;
    private String str;
    private String pInfo;
    private int loginType;  //0：手机号码登录   1：三方登录
    private String token;
    private String otherToken;  //三方登录授权返回的token
    private String userId;
    private int otherLoginType;  //0：微信   1：QQ

    private boolean analystFalg;

    public int getOtherLoginType() {
        return otherLoginType;
    }

    public String getThirdLoginType() {
        if (otherLoginType == 0) {
            return "wx";
        } else {
            return "qq";
        }
    }

    public void setOtherLoginType(int otherLoginType) {
        this.otherLoginType = otherLoginType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getOtherToken() {
        return otherToken;
    }

    public void setOtherToken(String otherToken) {
        this.otherToken = otherToken;
    }

    public int getLoginType() {
        return loginType;
    }

    public void setLoginType(int loginType) {
        this.loginType = loginType;
    }

    public String getpInfo() {
        return pInfo;
    }

    public void setpInfo(String pInfo) {
        this.pInfo = pInfo;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getBirthday() {
        return this.birthday;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getRole() {
        return this.role;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getGender() {
        return this.gender;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return this.city;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return this.nickName;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSign() {
        return this.sign;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPic() {
        return this.pic;
    }

    public void setMemberNo(String memberNo) {
        this.memberNo = memberNo;
    }

    public String getMemberNo() {
        return this.memberNo;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() {
        return this.mobilePhone;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getIntegral() {
        return this.integral;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return this.email;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAge() {
        return this.age;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getIntroduction() {
        return this.introduction;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getMemberId() {
        return this.memberId;
    }

    public boolean isAnalystFalg() {
        return analystFalg;
    }

    public void setAnalystFalg(boolean analystFalg) {
        this.analystFalg = analystFalg;
    }
}
